Platform Explorer / Nuxeo Platform 2023.22

Contribution com.nuxeo.aspera.connector.pageproviders.contrib--providers

This contribution is part of XML component com.nuxeo.aspera.connector.pageproviders.contrib inside nuxeo-aspera-core-2023.6.2.jar /OSGI-INF/aspera-pageproviders.xml

Extension Point

Extension point providers of component PageProviderService.

Registration Order

1
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <genericPageProvider class="org.nuxeo.elasticsearch.provider.ElasticSearchNxqlPageProvider" name="aspera_folderish_suggestion">
          <pattern escapeParameters="true" quoteParameters="false">
            SELECT * FROM Document WHERE ecm:fulltext LIKE '?*' AND ecm:mixinType = 'Folderish'
            AND ecm:mixinType NOT IN ('SystemDocument', 'HiddenInNavigation') AND ecm:isVersion = 0 AND ecm:isTrashed = 0
          </pattern>
        </genericPageProvider>
  • <genericPageProvider class="org.nuxeo.elasticsearch.provider.ElasticSearchNxqlPageProvider" name="aspera_transfers_list">
          <searchDocumentType>AsperaSearch</searchDocumentType>
            <whereClause>
              <fixedPart>
                ecm:primaryType IN ('Transfer')
                AND ecm:isVersion = 0
                AND ecm:isTrashed = 0
              </fixedPart>
            </whereClause>
          <aggregates>
            <aggregate id="ecm_currentLifeCycleState_agg" parameter="ecm:currentLifeCycleState" type="terms">
              <field name="ecm_currentLifeCycleState_agg" schema="aspera_search"/>
            </aggregate>
          </aggregates>
          <sort ascending="false" column="dc:modified"/>
          <quickFilters>
            <quickFilter name="download">
              <clause>ca:type = 'download'</clause>
            </quickFilter>
            <quickFilter name="upload">
              <clause>ca:type = 'upload'</clause>
            </quickFilter>
          </quickFilters>
          <pageSize>10</pageSize>
        </genericPageProvider>

XML Source

<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService">
    <genericPageProvider class="org.nuxeo.elasticsearch.provider.ElasticSearchNxqlPageProvider" name="aspera_folderish_suggestion">
      <pattern escapeParameters="true" quoteParameters="false">
        SELECT * FROM Document WHERE ecm:fulltext LIKE '?*' AND ecm:mixinType = 'Folderish'
        AND ecm:mixinType NOT IN ('SystemDocument', 'HiddenInNavigation') AND ecm:isVersion = 0 AND ecm:isTrashed = 0
      </pattern>
    </genericPageProvider>
    <genericPageProvider class="org.nuxeo.elasticsearch.provider.ElasticSearchNxqlPageProvider" name="aspera_transfers_list">
      <searchDocumentType>AsperaSearch</searchDocumentType>
        <whereClause>
          <fixedPart>
            ecm:primaryType IN ('Transfer')
            AND ecm:isVersion = 0
            AND ecm:isTrashed = 0
          </fixedPart>
        </whereClause>
      <aggregates>
        <aggregate id="ecm_currentLifeCycleState_agg" parameter="ecm:currentLifeCycleState" type="terms">
          <field name="ecm_currentLifeCycleState_agg" schema="aspera_search"/>
        </aggregate>
      </aggregates>
      <sort ascending="false" column="dc:modified"/>
      <quickFilters>
        <quickFilter name="download">
          <clause>ca:type = 'download'</clause>
        </quickFilter>
        <quickFilter name="upload">
          <clause>ca:type = 'upload'</clause>
        </quickFilter>
      </quickFilters>
      <pageSize>10</pageSize>
    </genericPageProvider>
  </extension>